package com.rx.mylist.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.rx.core.base.RxBaseConstant;
import com.rx.core.dbase.RxBaseDbMust;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=false)
public class ListLoginVo extends RxBaseDbMust {
    private String checkLimit = "false";
    private String code;
    private String nickName;
    private String realName;
    private String loginType;
    private String openId;
    private String token;
    private String accessToken;
    private String city;
    private String listCode;
    private String sessionKey;
    private String random;
    private String phone;

    private Integer point;
    private Integer signInRecord;
    private Integer level;
    @JSONField(format = RxBaseConstant.DATE_FORMAT_DATEONLY)
    private Date lastSignDate;
    @JSONField(format = RxBaseConstant.DATE_FORMAT_DATEONLY)
    private Date currentDate;

    public Date getCurrentDate() {
        return new Date();
    }
}
